[gd_scene load_steps=6 format=1]

[ext_resource path="res://scripts/shader/dbl_brightness.tres" type="Shader" id=1]
[ext_resource path="res://images/weapons/flash03.png" type="Texture" id=2]
[ext_resource path="res://sounds/weapons/weapons.tres" type="SampleLibrary" id=3]

[sub_resource type="CanvasItemMaterial" id=2]

shader/shader = ExtResource( 1 )
shader/shading_mode = 0

[sub_resource type="Animation" id=1]

resource/name = "life"
length = 0.5
loop = false
step = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:transform/scale")
tracks/0/interp = 1
tracks/0/imported = false
tracks/0/keys = { "times":FloatArray( 0, 0.2 ), "transitions":FloatArray( 1, 1 ), "update":0, "values":[ Vector2( 0.5, 0.2 ), Vector2( 1.2, 1.5 ) ] }
tracks/1/type = "value"
tracks/1/path = NodePath(".:offset")
tracks/1/interp = 1
tracks/1/imported = false
tracks/1/keys = { "times":FloatArray( 0, 0.2 ), "transitions":FloatArray( 1, 1 ), "update":0, "values":[ Vector2( 0, -6 ), Vector2( 0, -8 ) ] }
tracks/2/type = "value"
tracks/2/path = NodePath(".:visibility/self_opacity")
tracks/2/interp = 1
tracks/2/imported = false
tracks/2/keys = { "times":FloatArray( 0, 0.06, 0.1, 0.2 ), "transitions":FloatArray( 1, 1, 1, 1 ), "update":0, "values":[ 0.0, 1.0, 1.0, 0.0 ] }
tracks/3/type = "method"
tracks/3/path = NodePath(".")
tracks/3/interp = 1
tracks/3/imported = false
tracks/3/keys = { "times":FloatArray( 0.5 ), "transitions":FloatArray( 1 ), "values":[ { "args":[  ], "method":"queue_free" } ] }

[node name="Flash" type="Sprite"]

visibility/self_opacity = 0.0
visibility/blend_mode = 1
visibility/light_mask = 0
material/material = SubResource( 2 )
transform/scale = Vector2( 1.2, 1.5 )
texture = ExtResource( 2 )
offset = Vector2( 0, -8 )
__meta__ = { "__editor_plugin_screen__":"2D" }

[node name="Sound" type="SamplePlayer2D" parent="."]

params/volume_db = 0.0
params/pitch_scale = 1.0
params/attenuation/min_distance = 1.0
params/attenuation/max_distance = 4096.0
params/attenuation/distance_exp = 1.0
config/polyphony = 1
config/samples = ExtResource( 3 )
config/pitch_random = 0.0

[node name="Anim" type="AnimationPlayer" parent="."]

playback/process_mode = 1
playback/default_blend_time = 0.0
root/root = NodePath("..")
anims/life = SubResource( 1 )
playback/active = true
playback/speed = 1.0
blend_times = [  ]
autoplay = "life"


